<div class="modal" tabindex="-1" role="dialog">
    <div class="modal-dialog" style="width: 850px;">
        <div class="card">
            <div class="header" dragable-header>
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h4 class="modal-title">{{editParams.title}}</h4>
            </div>
            <div activate-input activate-select class="body">
                <form class="form-horizontal" role="form" id="editForm"
                      name="editForm" ng-submit="save(editForm.$valid)" novalidate>
                    <div class="dj-formtable">
                        <table class="dj-table">
                            <tr>
                                <th>所属党组织<span style="color:red;">*</span></th>
                                <td colspan="3">
                                    <div class="input-group input-group-search"
                                         title="选择党组织" ng-click="selectParty()">
                                        <input name="partyname" type="text" ng-model="dataModel.partyname"
                                               class="form-control" ng-required="true"
                                               ng-disabled="true"/>
                                        <span class="input-group-addon"><i class="material-icons">search</i></span>
                                    </div>
                                    <span ng-show="this.editForm.partyname.$invalid &&  this.editForm.$submitted"
                                          class="error">必填.</span>
                                </td>
                            </tr>
                            <tr>
                                <th>会议主题<span style="color:red;">*</span></th>
                                <td colspan="3" ng-class="{ 'has-error' : this.editForm.title.$invalid &&  this.editForm.$submitted}">
                                    <input type="text" class="form-control" name="title"
                                           ng-model="dataModel.title" ng-required="true"/>
                                </td>
                            </tr>
                            <tr>
                                <th>会议时间<span style="color:red;">*</span></th>
                                <td ng-class="{ 'has-error' : this.editForm.meetingdate.$invalid &&  this.editForm.$submitted}">
                                    <input name="meetingdate" class="form-control"
                                           autocomplete="off"
                                           autoclose="true"
                                           data-date-format="yyyy-MM-dd" data-date-type="date"
                                           ng-model="dataModel.meetingdate"
                                           placeholder="" bs-datepicker ng-required="true"/>
                                </td>
                                <th>会议参加人数<span style="color:red;">*</span></th>
                                <td ng-class="{ 'has-error' : this.editForm.usercount.$invalid &&  this.editForm.$submitted}">
                                    <input type="number" class="form-control" name="usercount"
                                           ng-model="dataModel.usercount" min="0" ng-required="true"/>
                                </td>
                            </tr>
                            <tr>
                                <th>会议地址<span style="color:red;">*</span></th>
                                <td colspan="3" ng-class="{ 'has-error' : this.editForm.address.$invalid &&  this.editForm.$submitted}">
                                    <input type="text" class="form-control" name="address"
                                           ng-model="dataModel.address" ng-required="true"/>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <bsfiles ng-model="reqFileModel"/>
                    <div class="form_foot">
                        <button type="button" class="btn btn-default" ng-click="$hide()">取消</button>
                        <button type="submit" class="btn btn-primary" form="editForm">保存</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>